import http from "@/api/http";

export function login(data) {
  return http.post({ url: "/auth/login", data });
}

export function logout() {
  return http.delete({ url: "/auth/logout" });
}
